<?xml version="1.0"?>
<CslaGeneratorUnit xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Params>
    <DefaultNamespace>CslaSample.Business</DefaultNamespace>
    <DefaultFolder />
    <SmartDateDefault>true</SmartDateDefault>
    <AutoCriteria>true</AutoCriteria>
    <AutoTimestampCriteria>false</AutoTimestampCriteria>
    <DatesDefaultStringWithTypeConversion>true</DatesDefaultStringWithTypeConversion>
    <CreateTimestampPropertyMode>Managed</CreateTimestampPropertyMode>
    <ReadOnlyObjectsCopyAuditing>false</ReadOnlyObjectsCopyAuditing>
    <ReadOnlyObjectsCopyTimestamp>false</ReadOnlyObjectsCopyTimestamp>
    <CreateReadOnlyObjectsPropertyMode>Managed</CreateReadOnlyObjectsPropertyMode>
    <DefaultDataBase>CslaSample</DefaultDataBase>
    <DefaultTransactionType>ADO</DefaultTransactionType>
    <DefaultPersistenceType>SqlConnectionManager</DefaultPersistenceType>
    <DefaultDatabaseContextObject />
    <ORBChildPropertySuffix>s</ORBChildPropertySuffix>
    <ORBCollectionSuffix>Coll</ORBCollectionSuffix>
    <ORBSingleSPSuffix>Relation</ORBSingleSPSuffix>
    <ORBItemsUseSingleSP>true</ORBItemsUseSingleSP>
    <SpAddPrefix>Add</SpAddPrefix>
    <SpDeletePrefix>Delete</SpDeletePrefix>
    <SpUpdatePrefix>Update</SpUpdatePrefix>
    <SpGetPrefix>Get</SpGetPrefix>
    <SpGeneralPrefix />
    <SpAddSuffix />
    <SpDeleteSuffix />
    <SpUpdateSuffix />
    <SpGetSuffix />
    <SpGeneralSuffix />
    <RegenSpNameOnObjectRename>true</RegenSpNameOnObjectRename>
    <SpBoolSoftDeleteColumn>IsActive</SpBoolSoftDeleteColumn>
    <SpIntSoftDeleteColumn />
    <SpIgnoreFilterWhenSoftDeleteIsParam>true</SpIgnoreFilterWhenSoftDeleteIsParam>
    <SpRemoveChildBeforeParent>true</SpRemoveChildBeforeParent>
    <IDGuidDefaultValue>Guid.NewGuid()</IDGuidDefaultValue>
    <IDInt16DefaultValue>_lastID</IDInt16DefaultValue>
    <IDInt32DefaultValue>_lastID</IDInt32DefaultValue>
    <IDInt64DefaultValue>_lastID</IDInt64DefaultValue>
    <FieldNamePrefix>_</FieldNamePrefix>
    <DelegateNamePrefix>d_</DelegateNamePrefix>
    <CreationDateColumn>CreateDate</CreationDateColumn>
    <CreationUserColumn>CreateUserID</CreationUserColumn>
    <ChangedDateColumn>ChangeDate</ChangedDateColumn>
    <ChangedUserColumn>ChangeUserID</ChangedUserColumn>
    <LogDateAndTime>true</LogDateAndTime>
    <LogInUtc>false</LogInUtc>
    <GetUserMethod>Security.UserInformation.UserID</GetUserMethod>
  </Params>
  <GenerationParams>
    <AckSilverlightPublicPropertyInfo>true</AckSilverlightPublicPropertyInfo>
    <SaveBeforeGenerate>true</SaveBeforeGenerate>
    <TargetFramework>CSLA45</TargetFramework>
    <WriteTodo>false</WriteTodo>
    <BackupOldSource>false</BackupOldSource>
    <RetryOnFileBusy>true</RetryOnFileBusy>
    <SeparateNamespaces>true</SeparateNamespaces>
    <SeparateBaseClasses>false</SeparateBaseClasses>
    <ActiveObjects>false</ActiveObjects>
    <UseDotDesignerFileNameConvention>true</UseDotDesignerFileNameConvention>
    <OutputLanguage>CSharp</OutputLanguage>
    <UpdateOnlyDirtyChildren>true</UpdateOnlyDirtyChildren>
    <NullableSupport>true</NullableSupport>
    <PropertyMode>Default</PropertyMode>
    <GenerateAuthorization>FullSupport</GenerateAuthorization>
    <HeaderVerbosity>None</HeaderVerbosity>
    <UseBypassPropertyChecks>false</UseBypassPropertyChecks>
    <UseSingleCriteria>false</UseSingleCriteria>
    <UsePublicPropertyInfo>true</UsePublicPropertyInfo>
    <UseChildFactory>true</UseChildFactory>
    <ForceReadOnlyProperties>true</ForceReadOnlyProperties>
    <BaseFilenameSuffix>.Designer</BaseFilenameSuffix>
    <ExtendedFilenameSuffix />
    <ClassCommentFilenameSuffix />
    <SeparateClassComment>false</SeparateClassComment>
    <BaseNamespace>CslaSample.Business</BaseNamespace>
    <UtilitiesNamespace>CslaSample.Business</UtilitiesNamespace>
    <UtilitiesFolder />
    <DalInterfaceNamespace>MyProject.DataAccess</DalInterfaceNamespace>
    <DalObjectNamespace>MyProject.DataAccess.Sql</DalObjectNamespace>
    <GenerateSprocs>true</GenerateSprocs>
    <OneSpFilePerObject>true</OneSpFilePerObject>
    <UseInlineQueries>SpecifyByObject</UseInlineQueries>
    <ReportObjectNotFound>IsLoadedProperty</ReportObjectNotFound>
    <GenerateQueriesWithSchema>false</GenerateQueriesWithSchema>
    <GenerateDatabaseClass>true</GenerateDatabaseClass>
    <DalName />
    <UsesCslaAuthorizationProvider>true</UsesCslaAuthorizationProvider>
    <GenerateWinForms>true</GenerateWinForms>
    <GenerateWPF>false</GenerateWPF>
    <GenerateSilverlight4>false</GenerateSilverlight4>
    <SilverlightUsingServices>false</SilverlightUsingServices>
    <DatabaseConnection>CslaSample</DatabaseConnection>
    <GenerateDTO>true</GenerateDTO>
    <GenerateDalInterface>false</GenerateDalInterface>
    <GenerateDalObject>false</GenerateDalObject>
    <GenerateSynchronous>true</GenerateSynchronous>
    <GenerateAsynchronous>false</GenerateAsynchronous>
  </GenerationParams>
  <CslaObjects>
    <CslaObjectInfo>
      <ComponentName />
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>false</GenerateSprocs>
      <GenerateInlineQueries>
        <string>Read</string>
      </GenerateInlineQueries>
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <ObjectType>EditableRootCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>FolderEditCollection</ObjectName>
      <ObjectNamespace>CslaSample.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Implements />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>FolderEditCollection</FileName>
      <OutputLanguage>CSharp</OutputLanguage>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <CriteriaObjects>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetFolderEditCollection</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <LazyLoad>false</LazyLoad>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>FolderEdit</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>true</UniqueItems>
      <FindMethodsParameters>
        <Property xsi:type="ValueProperty">
          <ParameterName>FolderId</ParameterName>
          <Name>FolderId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Id</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastID</DefaultValue>
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </Property>
      </FindMethodsParameters>
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache>
        <string>FolderList</string>
        <string>FolderNVL</string>
      </InvalidateCache>
      <ValueColumn />
      <NameColumn />
      <CacheResults>true</CacheResults>
      <DbName>CslaSample</DbName>
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <DbContextObject />
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddFolderEditCollection</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateFolderEditCollection</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <HashcodeProperty />
      <EqualsProperty />
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
      <PublishToChannel />
      <SubscribeToChannel />
    </CslaObjectInfo>
    <CslaObjectInfo>
      <ComponentName />
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>false</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <ObjectType>EditableChild</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>FolderEdit</ObjectName>
      <ObjectNamespace>CslaSample.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Implements />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>FolderEdit</FileName>
      <OutputLanguage>CSharp</OutputLanguage>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>FolderId</ParameterName>
          <Name>FolderId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Id</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastID</DefaultValue>
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FolderName</ParameterName>
          <Name>FolderName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>-1</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Name</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocumentCount</ParameterName>
          <Name>DocumentCount</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Document Count</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>0</DefaultValue>
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(DateTime.Now)</DefaultValue>
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
      </ValueProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>true</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>FolderEditCollection</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <LazyLoad>false</LazyLoad>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <CacheResults>true</CacheResults>
      <DbName>CslaSample</DbName>
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <DbContextObject />
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddFolderEdit</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateFolderEdit</UpdateProcedureName>
      <DeleteProcedureName>DeleteFolderEdit</DeleteProcedureName>
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <HashcodeProperty />
      <EqualsProperty />
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
      <PublishToChannel />
      <SubscribeToChannel />
    </CslaObjectInfo>
    <CslaObjectInfo>
      <ComponentName />
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>FolderList</ObjectName>
      <ObjectNamespace>CslaSample.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Implements />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>FolderList</FileName>
      <OutputLanguage>CSharp</OutputLanguage>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetFolderList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <LazyLoad>false</LazyLoad>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>FolderInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters>
        <Property xsi:type="ValueProperty">
          <ParameterName>FolderId</ParameterName>
          <Name>FolderId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Id</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </Property>
      </FindMethodsParameters>
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <CacheResults>true</CacheResults>
      <DbName>CslaSample</DbName>
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <DbContextObject />
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <HashcodeProperty />
      <EqualsProperty />
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
      <PublishToChannel />
      <SubscribeToChannel />
    </CslaObjectInfo>
    <CslaObjectInfo>
      <ComponentName />
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>FolderInfo</ObjectName>
      <ObjectNamespace>CslaSample.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Implements />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>FolderInfo</FileName>
      <OutputLanguage>CSharp</OutputLanguage>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>FolderId</ParameterName>
          <Name>FolderId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Id</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FolderName</ParameterName>
          <Name>FolderName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>-1</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Name</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
      </ValueProperties>
      <CriteriaObjects />
      <ParentType>FolderList</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <LazyLoad>false</LazyLoad>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <CacheResults>true</CacheResults>
      <DbName>CslaSample</DbName>
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <DbContextObject />
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <HashcodeProperty />
      <EqualsProperty />
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
      <PublishToChannel />
      <SubscribeToChannel />
    </CslaObjectInfo>
    <CslaObjectInfo>
      <ComponentName />
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocumentList</ObjectName>
      <ObjectNamespace>CslaSample.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Implements />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocumentList</FileName>
      <OutputLanguage>CSharp</OutputLanguage>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>FolderId</ParameterName>
              <Name>FolderId</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>true</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>FolderId</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Documents</ObjectName>
                <CatalogName>CslaSample</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDocumentList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <LazyLoad>false</LazyLoad>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>DocumentInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocumentId</ParameterName>
          <Name>DocumentId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocumentId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Document Id</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastID</DefaultValue>
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </Property>
      </FindMethodsParameters>
      <UpdaterType>DocumentEdit</UpdaterType>
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <CacheResults>true</CacheResults>
      <DbName>CslaSample</DbName>
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <DbContextObject />
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <HashcodeProperty />
      <EqualsProperty />
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
      <PublishToChannel />
      <SubscribeToChannel />
    </CslaObjectInfo>
    <CslaObjectInfo>
      <ComponentName />
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocumentInfo</ObjectName>
      <ObjectNamespace>CslaSample.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Implements />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocumentInfo</FileName>
      <OutputLanguage>CSharp</OutputLanguage>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties>
        <UpdateValueProperty>
          <ParameterName />
          <Name>DocumentId</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>DocumentId</SourcePropertyName>
          <IsIdentity>true</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>DocumentReference</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>DocumentReference</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>DocumentDate</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>DocumentDate</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>Subject</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>Subject</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>Sender</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>Sender</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>Receiver</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>Receiver</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
      </UpdateValueProperties>
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocumentId</ParameterName>
          <Name>DocumentId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocumentId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Document Id</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocumentReference</ParameterName>
          <Name>DocumentReference</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>15</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocumentReference</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Document Reference</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocumentDate</ParameterName>
          <Name>DocumentDate</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Date</DataType>
            <NativeType>date</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocumentDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Document Date</FriendlyName>
          <DeclarationMode>ManagedWithTypeConversion</DeclarationMode>
          <BackingFieldType>SmartDate</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Subject</ParameterName>
          <Name>Subject</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>-1</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Subject</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Subject</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Sender</ParameterName>
          <Name>Sender</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Sender</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Sender</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Receiver</ParameterName>
          <Name>Receiver</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Receiver</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Receiver</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
      </ValueProperties>
      <CriteriaObjects />
      <ParentType>DocumentList</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>FolderId</ParameterName>
          <Name>FolderId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Id</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastID</DefaultValue>
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>true</ParentInsertOnly>
      <LazyLoad>false</LazyLoad>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <CacheResults>true</CacheResults>
      <DbName>CslaSample</DbName>
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <DbContextObject />
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <HashcodeProperty />
      <EqualsProperty />
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
      <PublishToChannel />
      <SubscribeToChannel />
    </CslaObjectInfo>
    <CslaObjectInfo>
      <ComponentName />
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <ObjectType>NameValueList</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>FolderNVL</ObjectName>
      <ObjectNamespace>CslaSample.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Implements />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>FolderNVL</FileName>
      <OutputLanguage>CSharp</OutputLanguage>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>FolderId</ParameterName>
          <Name>FolderId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Id</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastID</DefaultValue>
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FolderName</ParameterName>
          <Name>FolderName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>-1</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Name</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
      </ValueProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetFolderNVL</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <LazyLoad>false</LazyLoad>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn>FolderId</ValueColumn>
      <NameColumn>FolderName</NameColumn>
      <CacheResults>true</CacheResults>
      <DbName>CslaSample</DbName>
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <DbContextObject />
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <HashcodeProperty />
      <EqualsProperty />
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
      <PublishToChannel />
      <SubscribeToChannel />
    </CslaObjectInfo>
    <CslaObjectInfo>
      <ComponentName />
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <ObjectType>UnitOfWork</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocumentEditGetter</ObjectName>
      <ObjectNamespace>CslaSample.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Implements />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocumentEditGetter</FileName>
      <OutputLanguage>CSharp</OutputLanguage>
      <UnitOfWorkProperties>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>Document</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>DocumentEdit</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>Folders</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>FolderNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
      </UnitOfWorkProperties>
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <LazyLoad>false</LazyLoad>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <CacheResults>true</CacheResults>
      <DbName>CslaSample</DbName>
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <DbContextObject />
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <HashcodeProperty />
      <EqualsProperty />
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
      <PublishToChannel />
      <SubscribeToChannel />
    </CslaObjectInfo>
    <CslaObjectInfo>
      <ComponentName />
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>true</SupportUpdateProperties>
      <ObjectType>EditableRoot</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocumentEdit</ObjectName>
      <ObjectNamespace>CslaSample.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Implements />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocumentEdit</FileName>
      <OutputLanguage>CSharp</OutputLanguage>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties>
        <ConvertValueProperty>
          <ParameterName />
          <Name>FolderName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Name</FriendlyName>
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
          <BaseName>Folder</BaseName>
          <SourcePropertyName>FolderId</SourcePropertyName>
          <NVLConverter>FolderNVL.GetFolderNVL</NVLConverter>
        </ConvertValueProperty>
      </ConvertValueProperties>
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocumentId</ParameterName>
          <Name>DocumentId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocumentId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Document Id</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastID</DefaultValue>
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocumentReference</ParameterName>
          <Name>DocumentReference</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>15</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocumentReference</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Document Reference</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocumentDate</ParameterName>
          <Name>DocumentDate</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Date</DataType>
            <NativeType>date</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocumentDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Document Date</FriendlyName>
          <DeclarationMode>ManagedWithTypeConversion</DeclarationMode>
          <BackingFieldType>SmartDate</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Subject</ParameterName>
          <Name>Subject</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>-1</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Subject</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Subject</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Sender</ParameterName>
          <Name>Sender</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Sender</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Sender</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Receiver</ParameterName>
          <Name>Receiver</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Receiver</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Receiver</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>TextContent</ParameterName>
          <Name>TextContent</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>-1</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>TextContent</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Text Content</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(DateTime.Now)</DefaultValue>
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FolderId</ParameterName>
          <Name>FolderId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderId</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Id</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </ValueProperty>
      </ValueProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>DocumentId</ParameterName>
              <Name>DocumentId</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocumentId</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>Documents</ObjectName>
                <CatalogName>CslaSample</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>true</IsIdentity>
              </DbBindColumn>
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDocumentEdit</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>DeleteDocumentEdit</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <LazyLoad>false</LazyLoad>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <CacheResults>true</CacheResults>
      <DbName>CslaSample</DbName>
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <DbContextObject />
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocumentEdit</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocumentEdit</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <HashcodeProperty />
      <EqualsProperty />
      <ToStringProperty>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocumentId</ParameterName>
          <Name>DocumentId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocumentId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Document Id</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastID</DefaultValue>
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </Property>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocumentReference</ParameterName>
          <Name>DocumentReference</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>15</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocumentReference</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Documents</ObjectName>
            <CatalogName>CslaSample</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Document Reference</FriendlyName>
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Implements />
          <Rules />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <MarkDirtyOnChange>true</MarkDirtyOnChange>
        </Property>
      </ToStringProperty>
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
      <PublishToChannel />
      <SubscribeToChannel />
    </CslaObjectInfo>
  </CslaObjects>
  <AssociativeEntities />
  <ConnectionString>Server=.\;Database=CslaSample;persist security info=False;user id=sa;password=password_1234;packet size=4096</ConnectionString>
  <ProjectName>CslaSample</ProjectName>
  <TargetDirectory>C:\VS Projects\MvvmFx\trunk\Samples\CaliburnMicro\CslaSample</TargetDirectory>
  <FileVersion>4.0.3</FileVersion>
</CslaGeneratorUnit>